package com.tubi.method;
/*
* 打印 n 到 m 之间的奇数
*
* */
public class Demo4Method {
    public static void main(String[] args) {
        print(4, 44);
    }

    public static void print ( int n, int m){
        for (int i = n; i <= m; i++) {
            if(i % 2 == 1){
                System.out.println(i);
            }
        }
    }
}
